import { createApp, VueElement } from 'vue'
import './style.css'
import App from './App.vue'
import Router from './Router/router'
// 完整引入，没有做按需引入的操作
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
// import localForage from 'localforage';


const app = createApp(App)

// 用于为 Vue 的运行时警告指定一个自定义处理函数（此处，用于关闭警告）
// app.config.warnHandler = (msg, instance, trace) => {
//     console.log(1111111111)
//     // `trace` is the component hierarchy trace
// }
// 将属性绑定到vue的原型上
// app.config.globalProperties.$localForage = localForage;
app.use(ElementPlus)
app.use(Router)
app.mount('#app')
